package com.songyuesheng.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author song
 * @date 2024/3/14 13:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String nickname;
    private String password;
    private String email;
    private String avatar;
    private String role;
    private String lastLoginIp;

    private LocalDateTime createTime;
    private LocalDateTime  updateTime;
    private Boolean isDelete;
}
